//后台应用地址
var java_url = 'http://172.16.3.192:8081';
// var python_url='http://192.168.163.205:5001';
var python_url = 'http://172.16.3.192:5001';
// var ucloud_master_url='http://192.168.56.99:8084';
var ucloud_master_url = 'http://172.16.3.192:5002';
//beetle-plan接口访问地址
var beetle_plan_url = 'http://172.16.3.192:5003/api/v1';
var beetle_plan_ip = '172.16.3.192:5003';
var integration_agent_list = ['172.16.3.207'];
// 运维使用的ucloud环境，只有运维可以操作，目前用来同步pis数据库
var c_ucloud_list = ['172.16.2.176'];
var c_port = '8088';
var uBarrier_url = 'http://172.16.3.192:5004/api/v1';
//ucloud默认显示的区
var uCloud_default_zones = ["中国区", "美国区"];
//uCloud所有环境列表
var uCloud_zones = [
    {
        "instructions": "占用32G内存 50G硬盘空间",
        "zone_alias": "gzidc",
        "zone_code": "uc.gzidc.area",
        "zone_title": "中国区",
        "parent_code": null
    },
    {
        "instructions": "",
        "zone_alias": "szx",
        "zone_code": "uc.gzidc.warehouse.szx",
        "zone_title": "深圳仓",
        "parent_code": "uc.gzidc.area"
    },
    {
        "instructions": "",
        "zone_alias": "usaws",
        "zone_code": "uc.usaws.area",
        "zone_title": "美国区",
        "parent_code": null
    },
    {
        "instructions": "",
        "zone_alias": "usla",
        "zone_code": "uc.usaws.warehouse.usla",
        "zone_title": "美西仓",
        "parent_code": "uc.usaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "usky",
        "zone_code": "uc.usaws.warehouse.usky",
        "zone_title": "美东仓",
        "parent_code": "uc.usaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "ustx",
        "zone_code": "uc.usaws.warehouse.ustx",
        "zone_title": "美三仓",
        "parent_code": "uc.usaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "euaws",
        "zone_code": "uc.euaws.area",
        "zone_title": "欧洲区",
        "parent_code": null
    },
    {
        "instructions": "",
        "zone_alias": "ukls",
        "zone_code": "uc.euaws.warehouse.ukls",
        "zone_title": "英一存储仓",
        "parent_code": "uc.euaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "ukle",
        "zone_code": "uc.euaws.warehouse.ukle",
        "zone_title": "英国一仓",
        "parent_code": "uc.euaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "ukma",
        "zone_code": "uc.euaws.warehouse.ukma",
        "zone_title": "英国二仓",
        "parent_code": "uc.euaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "debre",
        "zone_code": "uc.euaws.warehouse.debre",
        "zone_title": "德国仓",
        "parent_code": "uc.euaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "bemo",
        "zone_code": "uc.euaws.warehouse.bemo",
        "zone_title": "比利时仓",
        "parent_code": "uc.euaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "ukgf",
        "zone_code": "uc.euaws.warehouse.ukgf",
        "zone_title": "英国三仓",
        "parent_code": "uc.euaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "auaws",
        "zone_code": "uc.auaws.area",
        "zone_title": "澳洲区",
        "parent_code": null
    },
    {
        "instructions": "",
        "zone_alias": "ausyd",
        "zone_code": "uc.auaws.warehouse.ausyd",
        "zone_title": "澳洲仓",
        "parent_code": "uc.auaws.area"
    },
    {
        "instructions": "",
        "zone_alias": "can",
        "zone_code": "uc.gzidc.warehouse.can",
        "zone_title": "广州仓",
        "parent_code": "uc.gzidc.area"
    },
    {
        "instructions": "",
        "zone_alias": "sha",
        "zone_code": "uc.gzidc.warehouse.sha",
        "zone_title": "上海仓",
        "parent_code": "uc.gzidc.area"
    },
    {
        "instructions": "",
        "zone_alias": "tao",
        "zone_code": "uc.gzidc.warehouse.tao",
        "zone_title": "青岛仓",
        "parent_code": "uc.gzidc.area"
    },
    {
        "instructions": "",
        "zone_alias": "ngb",
        "zone_code": "uc.gzidc.warehouse.ngb",
        "zone_title": "宁波仓",
        "parent_code": "uc.gzidc.area"
    },
    {
        "instructions": "",
        "zone_alias": "hkg",
        "zone_code": "uc.gzidc.warehouse.hkg",
        "zone_title": "香港仓",
        "parent_code": "uc.gzidc.area"
    },
    {
        "instructions": "",
        "zone_alias": "uc.auaws.warehouse.auss",
        "zone_code": "uc.auaws.warehouse.auss",
        "zone_title": "澳洲存储仓",
        "parent_code": "uc.auaws.area"
    }
];

//uCloud发布,数据库版本时间与工程版本时间差
var ucloud_db_edition_date = 10;
//uCloud发布,需要展示超链接的应用
var ucloud_project_url = [
    {
        "name": "tom",
        "url": "/"
    },
    {
        "name": "sellerportal",
        "url": "/Manage"
    },
    {
        "name": "TrackingWebsite",
        "url": "/"
    },
    {
        "name": "booking",
        "url": "/"
    },
    {
        "name": "eds",
        "url": "/"
    },
    {
        "name": "help",
        "url": "/"
    },
    {
        "name": "jinxuan",
        "url": "/"
    },
    {
        "name": "service-gate",
        "url": "/service-gate"
    },
    {
        "name": "operation-portal",
        "url": "/operation-portal"
    },
    {
        "name": "erp",
        "url": "/"
    },
    {
        "name": "owms",
        "url": "/"
    },
    {
        "name": "dubbo-admin",
        "url": "/"
    },
    {
        "name": "uschedule",
        "url": "/uschedule"
    },
    {
        "name": "sc",
        "url": "/sc-api-web"
    },
    {
        "name": "openapi",
        "url": "/openapi"
    },
    {
        "name": "zk-console",
        "url": "/zk-console"
    },
    {
        "name": "upush2-console-ui",
        "url": "/"
    }
];


// uBarrier入口
var uBarrier_types = [
    {
        'type': 'elb',
        'name': 'AWS ELB'
    }, {
        'type': 'haproxy',
        'name': 'Haproxy'
    }, {
        'type': 'hosts',
        'name': 'Tom'
    }, {
        'type': 'jmx',
        'name': 'Java app'
    }, {
        'type': 'uschedule',
        'name': 'Uschedule'
    }, {
        'type': 'php',
        'name': ''
    },
];
var uBarrierEnv = ['online'];